body {
    margin: 0;
    padding: 0;
    font-family: Lucida Grande, Verdana, Geneva, Sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #fff;
}

a {
    color: #b3b4bd;
    background-color: transparent;
    text-decoration: none;
    font-weight: normal;
    outline-style: none;
}
a:visited {
    color: #b3b4bd;
    background-color: transparent;
    text-decoration: none;
    outline-style: none;
}
a:hover {
    color: #bd8eb4;
    text-decoration: none;
    background-color: transparent;
    outline-style: none;
}
#calmain table {
    border-collapse: separate;
    border: 1px solid #9DABCE;
    border-width: 0px 0px 1px 1px;
    margin: 10px auto;
    font-size: 20px;
}
#calmain td, #calmain th {
    width: 81px;
    height: 81px;
    text-align: center;
    vertical-align: middle;
    background: url(../images/cells.png);
    color: #444;
    position: relative;
    padding:0;
}
#calmain th {
    height: 30px;
    font-weight: bold;
    font-size: 14px;
}
#calmain td:hover, #calmain th:hover {
    background-position: 0px -81px;
    color: #222;
}
#calmain td.date_has_event {
    background-position: 162px 0px;
    color: white;
}
#calmain td.date_has_event:hover {
    background-position: 162px -81px;
}
#calmain td.padding {
    background: url(../images/calpad.jpg);
}
#calmain td#today {
    background-position: 81px 0px;
    color: white;
}
#calmain td#today:hover {
    background-position: 81px -81px;
}
#calmain .events {
    position: relative;
}
#calmain .events ul {
    text-align: left;
    position: absolute;
    display: none;
    z-index: 1000;
    padding: 15px;
    background: #E7ECF2 url(../images/popup.png) no-repeat;
    color: white;
    border: 1px solid white;
    font-size: 15px;
    width: 200px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    -border-radius: 3px;
    list-style: none;
    color: #444444;
    -webkit-box-shadow: 0px 8px 8px #333;
}
#calmain .events li {
    padding-bottom: 5px;
}
#calmain .events li span {
    display: block;
    font-size: 12px;
    text-align: justify;
    color: #555;
}
#calmain .events li span.title {
    font-weight: bold;
    color: #222;
}

#calmain th a{
    text-decoration:none;
    font-size:120%;
    font-weight:bold;
    color: #000;
    outline-width:0;
}

#nav2 {
    background: #fff url(../images/admin/nav_bg_darker.jpg) repeat-x left top;
    padding: 10px 310px 0 0;
    margin: 0;
    text-align: right;
}


#nav {
    background-color: #494949;
    margin: 0;
    padding: 0;
}

#nav li {color: #f5deb3; float: left; margin-left: 10px; padding-right: 10px; border-right: 1px solid #ffffff;}
#nav li.last { border-right: 0px}
#nav li.logout { border-right: 0px;margin-left: 40%;}

.blah {position: absolute;left: 30%;top: 50%;}

.login_form
{
    padding: 10px 10px 10px 10px;
    position: absolute;
    width: 336px;
    top: 40%;
    left: 38%;
    background-color: #E4E2E2;
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
}


.article_list .article_list_table tr,td{ border: 1px solid black;}
.article_list .article {margin-top: 20px;}
.article_list .article .article_author{border-radius: 7px; border-bottom: solid 1px #D1D1D1; padding: 5px 5px; margin-top: 10px; background-color: rgba(198, 200, 143, 0.58);}
.article_list .article .article_date{float: right;}
.pagination {position: fixed;
    width: 500px;
    height: 30px;
    bottom: 0px;
	left: 30%;}
.pagination a {color: #39b320;}
.login_form table,tr,td {border-width: 0px;}

fieldset {
    margin-bottom: 10px;
    border: 1px #ccc solid;
    padding: 5px;
    text-align: left;
}

.article_edit .width-60 {
    width: 60%;
    float: left;
    margin: 10px;
}

.article_edit .adminformlist {
    margin: 0;
    padding: 0;
    list-style: none;
}
.article_edit .adminformlist li
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.article_edit .adminformlist label
{
    min-width: 10%;
    max-width: 30%;
    width: 30%;
    padding: 0 5px 0 0;
    float: left;
    clear: left;
    display: block;
    margin: 5px 0;
}
.article_edit .adminformlist input
{
    float: left;
    width: auto;
    margin: 5px 5px 5px 0;
}
.m
{
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #ccc;
    padding: 0 8px;
    background-color: #f4f4f4;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 5px 0 10px;
}
.m .toolbar-list
{
    margin-top: -26px;
    float: right;
    text-align: right;
    padding: 0;
}
.m .toolbar-list .button
{
    padding: 1px 1px 3px 4px;
    text-align: center;
    color: #666;
    height: 48px;
    list-style: none;
    float: left;
}
.m .toolbar-list a
{
    display: block;
    float: left;
    white-space: nowrap;
    border: 1px solid #F4F4F4;
    padding: 1px 5px;
    cursor: pointer;
}
.m .toolbar-list span
{
    float: none;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    display: block;
}
.m .toolbar-list .icon-32-cancel
{
    background-image: url(../images/admin/icon-32-cancel.png);
}
.m .toolbar-list .icon-32-apply
{
    background-image: url(../images/admin/icon-32-apply.png);
}

.icon-48-article-add
{
    height: 52px;
    padding-left: 60px;
    background-repeat: no-repeat;
    margin-left: 10px;
    background-image: url(../images/admin/icon-48-article-add.png);
}

.icon-48-article-add h3
{
    line-height: 48px;
    font-size: 2em;
    font-weight: bold;
    color: #146295;
    margin: 0;
    padding: 0
}

.list_content
{
    border: 1px solid #ccc;
    padding: 0 8px;
    background-color: #f4f4f4;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 10px 10px 0 10px;
    margin: 10px;
}

.list_content .adminlist
{
    width: 100%;
    border-spacing: 1px;
    background-color: #f3f3f3;
    color: #666;
}

.list_content .adminlist thead th
{
    text-align: center;
    border-spacing: 1px;
    background-color: #f3f3f3;
}
.list_content .adminlist thead th a
{
    color: #025A8D
}
.list_content .adminlist tbody tr
{
    background-color: #fff;
    text-align: left;
}
.list_content .adminlist tbody tr td
{
    padding: 5px
}

.list_content .adminlist tbody tr.row1
{
    background-color: #f0f0ee;
}

.gallery_grid .gallery_table .row0
{
    background-color: #ececea;
}
.add_buttom 
{
    float: left;
    width: 32px;
    height: 32px;
    margin-top: -9px;
    display: block;
    background-image: url("../images/admin/icon-32-new.png");
}
.gallery_table a.active
{
    background-repeat: no-repeat;
    padding-right: 10px;
    background-image:  url("../images/admin/tick.png");
}

.gallery_table a.deactive
{
    background-repeat: no-repeat;
    padding-right: 10px;
    background-image:  url("../images/admin/publish_x.png");
}